<?php
	/**
     * 配置文件
     * @author  黄明杰 vx:HMJ125855
     * @version 20190101
     */
	return [
		# 加密密钥
        'md5_key'               => 'Z(6M0ldQ5y[SJ*{chm~.8x9;2$?Uo:sN`WI}RYBu',

		# 验证码配置
		'verification_code'		=> [
			'codeSet'			=> '0123456789',	# 验证码字符集合
			'expire'			=> 1200,			# 验证码过期时间
			'useImgBg'			=> false,			# 验证码背景图片
			'fontSize'			=> 30,				# 验证码字体大小
			'useCurve' 			=> true, 			# 验证码混淆曲线
			'useNoise'			=> false,			# 验证码杂点使用
			'fontttf'			=> '5.ttf',			# 验证码字体使用
			'length'			=> 4,				# 验证码位数长度
		],

	    # 模版配置
	    'view_replace_str' 		=> [
	        '__CSS__' 			=> '/static/madmin/css',
	        '__JS__'  			=> '/static/madmin/js',
	        '__IMG__' 			=> '/static/madmin/images',
	    ],

	    # 调试配置
	    'app_trace' 			=> false,
	    'app_debug'				=> true,
	    'show_error_msg'        => true,

	    # 全局过滤
	    'default_filter'        => 'trim,htmlspecialchars',

	    # 开启语言包
	    'default_lang'          => 'zh-cn',
	    'lang_switch_on' 		=> true,

	    # 页面提示配置
		'dispatch_show_html'  	=> APP_PATH.'madmin'.DS.'view'.DS.'PublicBase'.DS.'showBack.html',
		//'exception_tmpl'        => APP_PATH.'madmin'.DS.'view'.DS.'PublicBase'.DS.'show500.html',

		# 分页配置
	    'paginate'              => [
	        'type'      		=> 'bootstrap',
	        'var_page'  		=> 'page',
	        'list_rows' 		=> 15,
	    ],
	];
